package com.haiyu.manager.service;

import com.haiyu.manager.dto.UserInfoSearchDTO;
import com.haiyu.manager.pojo.UserInfo;
import com.haiyu.manager.response.PageDataResult;

import java.util.Map;

public interface UserInfoService {
    PageDataResult getUserInfoList(UserInfoSearchDTO userInfoSearch, Integer pageNum, Integer pageSize);

    //Map<String, Object> updateUserLabel(UserInfo userInfo);

    Map<String,Object> delUser(String buyerOpenid, Integer userInfoLabel);

    Map<String,Object> recoverUser(String buyerOpenid, Integer userInfoLabel);

    UserInfo getUserById(Integer userId);
}
